local Workspace = game:GetService("Workspace")
local ServerOHOH = _G.ServerOHOH;
local M = ServerOHOH.class.new(script, ServerOHOH.files.Server_PlayerComponent());
local EventList = ServerOHOH.load.EventList();

function M.new(self,...)
	return M(self,...);
end;
function M.ctor(self, parent)
	M.super.ctor(self, parent);
	self.DataBase=self.parent:GetComponent(ServerOHOH.load.Server_PlayerDataComponent())
end;

function M.dtor(self)
	M.super.dtor(self);
end;


--改变交易内容
function M.NextGuide(self)
    self.DataBase:SetData("guide",self.DataBase:GetData("guide")+1)
end

M:RegistEvent(EventList.next_guide,M.NextGuide)


return M